package com.jumi.microservice.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Description 极光推送配置 jPush config
 * @ClassName JPushConfig
 * @Author Abel Yang
 * @Date 2020/10/24/024 9:25
 **/
@Configuration
public class JPushConfig {

    // 设置好账号的app_key和masterSecret是必须的
    @Value("${jPush.appKey}")
    private String appKey;
    @Value("${jPush.masterSecret}")
    private String masterSecret;
    @Value("${jPush.developScene}")
    private boolean developScene;

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getMasterSecret() {
        return masterSecret;
    }

    public void setMasterSecret(String masterSecret) {
        this.masterSecret = masterSecret;
    }

    public boolean isDevelopScene() {
        return developScene;
    }

    public void setDevelopScene(boolean developScene) {
        this.developScene = developScene;
    }
}
